package com.learn.a05_2_mars_photos.network

import com.learn.a05_2_mars_photos.model.MarsPhoto
import retrofit2.http.GET


/**
 * Retrofit 用于创建 API 调用的服务对象
 */
interface MarsApiService {
    @GET("photos")
    suspend fun getPhotos(): List<MarsPhoto>
}